/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package view;

import java.text.DecimalFormat;
import java.text.NumberFormat;

/**
 *
 * @author chapmand
 */
public class SimpleSalesOrderView {
    private final String cost;
    private final String overview;
    private final int numKegs;

    public SimpleSalesOrderView(final float cost, final String overview, final int numKegs) {
        super();
        final NumberFormat money = new DecimalFormat("$#0.00");
        this.cost = money.format(cost);
        this.overview = overview;
        this.numKegs = numKegs;
    }

    public String getCost() {
            return cost;
    }

    public String getOverview() {
            return overview;
    }

    public int getNumKegs() {
        return numKegs;
    }
}
